#include "NetworkEvent.h"
#include "ClientConnectNetworkEvent.h"

#include <cstdlib>

NetworkEvent::~NetworkEvent()
{
}

NetworkEvent::Header* NetworkEvent::allocateHeader(Id code, int playerId)
{
    Header* header = (Header*)malloc(sizeof(Header));
    header->code = code;
    header->playerId = playerId;
    return header;
}
